package com.jianyun.jyzs.bean;

/**
 * Created by mlli on 2017/11/23.
 */

public class Attachment {
    private int category;//0 图片 1 音频 2 视频 3 文件
    private String path;//资源路径
    private String localpath;//资源路径
    private String attachId;//服务器保存的ID

    private String filename;

    public String getAttachId() {
        return attachId;
    }

    public void setAttachId(String attachId) {
        this.attachId = attachId;
    }

    @Override
    public String toString() {
        return "Attachment{" +
                "category=" + category +
                ", path='" + path + '\'' +
                ", localpath='" + localpath + '\'' +
                ", attachId='" + attachId + '\'' +
                ", filename='" + filename + '\'' +
                '}';
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getLocalpath() {
        return localpath;
    }

    public void setLocalpath(String localpath) {
        this.localpath = localpath;
    }

    public Attachment(int category, String path, String localpath) {
        this.category = category;
        this.path = path;
        this.localpath = localpath;
    }

    public Attachment() {
    }
}
